package com.xiang.publicdemo.module1.repository;

import com.xiang.publicdemo.module1.entity.AbstractEntity;

import java.util.List;

public interface IAbstractRepository<E extends AbstractEntity> {
    public E add(E e);

    public int delete(String id);

    public E update(E e);

    public E findById(String id);

    public E findOne(E e);

    public List<E> find(E e);
}
